home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Web Content Filter / Proxomitron.exe / file0005.bin < prev    next >
Encoding:
Text File  |  1999-10-17  |  12.5 KB  |  515 lines

  1. ##
  2. ## Proxomitron Config File
  3. ##
  4.  
  5. [Global]
  6. Enable = TRUE
  7. FreezeGIF = TRUE
  8. FilterHTML = TRUE
  9. FilterHeadersOut = TRUE
  10. FilterHeadersIn = TRUE
  11. EnableProxy = FALSE
  12. EnableAutoRun = FALSE
  13. ForceTextures = FALSE
  14. NoTextures = FALSE
  15. SysTray = TRUE
  16. Back.BMP = "..\Textures\FlatBlack.BMP"
  17. Inset.BMP = "..\Textures\bbuble.BMP"
  18. Face2.BMP = "..\Textures\bbuble.BMP"
  19. Button.BMP = "..\Textures\BluGrayButton.BMP"
  20. Port = 8080
  21.  
  22. [HTTP headers]
  23. In = FALSE
  24. Out = FALSE
  25. Key = "Authorization: Example password entry (out)"
  26. URL = "www.needspassword.com/this/area/protected.html"
  27. Replace = "basic bWljaGllOm5lb24temVicmE="
  28.  
  29. In = TRUE
  30. Out = FALSE
  31. Key = "Content-Type: character set filter (in)"
  32. Match = "text/html;*charset*"
  33. Replace = "text/html"
  34.  
  35. In = TRUE
  36. Out = FALSE
  37. Key = "Content-Type: Fix Javascript mime types"
  38. URL = "*.js(^?)"
  39. Match = "text/plain"
  40. Replace = "text/javascript"
  41.  
  42. In = TRUE
  43. Out = FALSE
  44. Key = "Content-Type: Fix MIDI mime types"
  45. URL = "*.mid((^?)|#)"
  46. Match = "text/plain"
  47. Replace = "audio/mid"
  48.  
  49. In = TRUE
  50. Out = FALSE
  51. Key = "Content-Type: Fix MP3 mime types"
  52. URL = "*.mp3((^?)|#)"
  53. Match = "text/plain"
  54. Replace = "audio/x-mpeg"
  55.  
  56. In = FALSE
  57. Out = FALSE
  58. Key = "Content-Type: Show contents of .pac files"
  59. Match = "application/x-ns-proxy-autoconfig"
  60. Replace = "text/plain"
  61.  
  62. In = FALSE
  63. Out = FALSE
  64. Key = "Content-Type: View RealAudio links"
  65. Match = "*realaudio*"
  66. Replace = "text/html"
  67.  
  68. In = FALSE
  69. Out = FALSE
  70. Key = "Cookie: Fake a cookie (out)"
  71. Match = "*"
  72. Replace = "monster"
  73.  
  74. In = FALSE
  75. Out = TRUE
  76. Key = "Cookie: Kill a cookie (out)"
  77. Match = "*"
  78.  
  79. In = FALSE
  80. Out = FALSE
  81. Key = "Forwarded:"
  82. Replace = "\h"
  83.  
  84. In = FALSE
  85. Out = FALSE
  86. Key = "If-Modified-Since: Always reload pages (Out)"
  87. Match = "*"
  88.  
  89. In = FALSE
  90. Out = FALSE
  91. Key = "Last-Modified: (In)"
  92. Match = "*"
  93.  
  94. In = FALSE
  95. Out = FALSE
  96. Key = "Pragma: Don't force reloads"
  97. Match = "no-cache"
  98.  
  99. In = FALSE
  100. Out = FALSE
  101. Key = "Proxy-Authorization: Send password to proxy server"
  102. Replace = "basic cHJveHl1c2VyOnByb3h5cGFzcw=="
  103.  
  104. In = FALSE
  105. Out = TRUE
  106. Key = "Referer: Hide where we've been (Out)"
  107. Match = "*"
  108. Replace = "\u"
  109.  
  110. In = TRUE
  111. Out = FALSE
  112. Key = "Set-cookie: Never accept cookies (In)"
  113. Match = "*"
  114.  
  115. In = FALSE
  116. Out = TRUE
  117. Key = "URL-Killer: kill-a-URL (out)"
  118. URL = "adex*flycast|*burstnet.com"
  119. Replace = "This connection has been axed\k"
  120.  
  121. In = FALSE
  122. Out = TRUE
  123. Key = "User-Agent:"
  124. Match = "*"
  125. Replace = "Mozilla/2.0 [en] (Win95; I ;Nav)"
  126.  
  127. In = FALSE
  128. Out = FALSE
  129. Key = "WWW-Authenticate: filter out password requests (in)"
  130. Match = "Basic*realm="*""
  131.  
  132. In = FALSE
  133. Out = FALSE
  134. Key = "X-Forwarded-For:"
  135. Replace = "yahoo.com, microsoft.com, netscape.com, aol.com, \h"
  136.  
  137.  
  138. [Patterns]
  139. Name = "Banner Replacer"
  140. Active = FALSE
  141. Bounds = "<a\s*</a>"
  142. Limit = 800
  143. Match = "\0<img (\1border=\w|) \2 src=\w (\3border=\w|) \4"
  144.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  145.         "(*width=[#460-480] & *height=[#55-60])|"
  146.         "(*width=[#88] & *height=[#31]))*"
  147. Replace = "\0<img \1 border=1 \2 src=\dclear.gif \3 \4"
  148.  
  149. Name = "Banner Blaster (limit text)"
  150. Active = TRUE
  151. Multi = TRUE
  152. Bounds = "<a\s*</a>|<input*>"
  153. Limit = 800
  154. Match = "\1<(img|image|input)*>\3"
  155.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  156.         "*http://*<im(g|age)\s(*width=[#460-480] & *height=[#55-60]|"
  157.         "*width=[#88] & *height=[#31]|"
  158.         "*src=\w(cgi|\?)\w) *>)*"
  159.         "&(*alt="(([^" ]+\s[^" ]+\s[^" ]+\s[^" ]+)\2\s*|\2)"|)"
  160. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  161.  
  162. Name = "Banner Blaster (full text)"
  163. Active = FALSE
  164. Multi = TRUE
  165. Bounds = "<a\s*</a>|<input*>"
  166. Limit = 800
  167. Match = "\1<(img|image|input)*>\3"
  168.         "&(*(href|src)=\w([^o]ads[./]|/ad|(ad|log_)click|click(thru|er)|(banner|ad|acct|source|click)id=|(to|seed|banner|page)=|banners|adbanner|adfu.|sponsor|adver|promo|redirect)|"
  169.         "*http://*<img\s(*width=[#460-480] & *height=[#55-60]|"
  170.         "*width=[#88] & *height=[#31]|"
  171.         "*src=\wcgi\w) *>)*"
  172.         "&(*alt="\2"|)"
  173. Replace = "<center>\1<font size=1>[\2]</font>\3</center>"
  174.  
  175. Name = "Area Map Ad Blaster"
  176. Active = TRUE
  177. Multi = TRUE
  178. Bounds = "<img\s[^>]+> <map\s*</map>"
  179. Limit = 800
  180. Match = "<img*usemap*>*"
  181.         "&*(ads.|log_click|/ad|clickthru|(banner|ad|acct|source|click)(id|)=|adbanner|clicker|sponsor|adver|promo|redirect)*"
  182.         "&*<map*<area (*href=(\w)\1 & (*alt="\2'|))*>\3</map>"
  183. Replace = "<br><killmap><font size=1><a href=\1>[\2]</a></font>\3</killmap>"
  184.  
  185. Name = "Area Map Ad Blaster pt2 (show all links)"
  186. Active = TRUE
  187. Multi = TRUE
  188. Bounds = "<killmap>*</killmap>"
  189. Limit = 800
  190. Match = "\1 <area (*href=(\w)\2 & (*alt="(?????????????)\3*|\3'|))*> \4"
  191. Replace = " \1 <font size=1><a href=\2 >[\3]</a></font> \4 "
  192.  
  193. Name = "Kill JavaScript Banners"
  194. Active = TRUE
  195. Bounds = "<script*</script>"
  196. Limit = 5000
  197. Match = "*(doubleclick|flycast|burstnet)*|"
  198.         "(*document.write*<img*</a>*&*/ads/*)"
  199. Replace="<!-- JS Banner Killed -->"
  200.  
  201. Name = "Kill Hyper Banner"
  202. Active = TRUE
  203. Bounds = "<applet\s*</applet>"
  204. Limit = 5000
  205. Match = "*code=("|)(movie|WSSApplet|hyper).class*"
  206. Replace = "<font size=1>[JavaApp Killed]</font><br>"
  207.  
  208. Name = "Counter Killer"
  209. Active = TRUE
  210. Bounds = "<img\s*>"
  211. Limit = 256
  212. Match = "*src=("|)(\wcount|http://\w(cgi-bin|\?))*"
  213. Replace = " <font size=1>[000]</font> "
  214.  
  215. Name = "Webpage Background Killer"
  216. Active = FALSE
  217. Multi = TRUE
  218. Limit = 200
  219. Match = "<body \1background=\2>"
  220. Replace = "<body \1nobak=\2>"
  221.  
  222. Name = "Webpage Background Replacer"
  223. Active = FALSE
  224. Multi = TRUE
  225. Limit = 200
  226. Match = "<body ( \1 background=\w|) \2>"
  227. Replace = "<body \1 background="\dblack.gif" \2>"
  228.  
  229. Name = "Kill All Backgrounds (even tables)"
  230. Active = FALSE
  231. Limit = 20
  232. Match = "background="
  233. Replace = "nobak="
  234.  
  235. Name = "Sounds to links"
  236. Active = FALSE
  237. Bounds = "<embed\s*>|<bgsound\s*>"
  238. Limit = 256
  239. Match = "*src=("*'|\w)\1&(*type=(\w)\2|)*"
  240. Replace = "<a href=\1 >[\2]</a>"
  241.  
  242. Name = "Sound Silencer"
  243. Active = FALSE
  244. Limit = 20
  245. Match = "<(embed|bgsound)\s"
  246. Replace = "<keepquiet "
  247.  
  248. Name = "Embedded MIDI Silencer"
  249. Active = TRUE
  250. Bounds = "<embed\s*>"
  251. Limit = 256
  252. Match = "*src=("*'|\w)\1&(*(type=\w)\2|)*"
  253. Replace = "<embed src=\1 height=15 controls="smallconsole" \2 >"
  254.  
  255. Name = "Blink Buster (Blink to Bold)"
  256. Active = TRUE
  257. Limit = 20
  258. Match = "<(/|)\1blink>"
  259. Replace = "<\1b>"
  260.  
  261. Name = "Freeze font's face"
  262. Active = FALSE
  263. Limit = 80
  264. Match = "<font\s\1face=\2>"
  265. Replace = "<font \1ecaf=\2>"
  266.  
  267. Name = "Onload unloader"
  268. Active = FALSE
  269. Limit = 20
  270. Match = "onload="
  271. Replace = "LoadOff="
  272.  
  273. Name = "OnUnload unloader"
  274. Active = TRUE
  275. Multi = TRUE
  276. Bounds = "<body\s*>"
  277. Limit = 300
  278. Match = "\1 onunload=\2"
  279. Replace = "\1 UnLoadOff=\2"
  280.  
  281. Name = "Kill All pop-up windows"
  282. Active = TRUE
  283. Limit = 4096
  284. Match = "<start>"
  285. Replace = "<script> "
  286.           "PrxRealOpen=window.open; "
  287.           "function PrxNullWin(){this.window;} "
  288.           "function PrxOpen(url,nam,atr){return(new PrxNullWin());} "
  289.           "window.open=PrxOpen;"
  290.           "</script>\r\n"
  291.  
  292. Name = "Restore pop-up windows after page loads"
  293. Active = TRUE
  294. Limit = 256
  295. Match = "<end>"
  296. Replace = "<script> window.open=PrxRealOpen; </script>\r\n"
  297.  
  298. Name = "Link De-Obfuscator"
  299. Active = TRUE
  300. Limit = 50
  301. Match = "onmouseover=("*.status=)\1"
  302. Replace = "nomouseover=\1"
  303.  
  304. Name = "Anti-Auto-Refresher"
  305. Active = FALSE
  306. Bounds = "<meta\s*>"
  307. Limit = 200
  308. Match = "*http-equiv=("|)refresh(*url=([^"' ]+)\1|)*"
  309. Replace = "<center><font size=1><a href=\1 >[Refresh]</a></font></center>"
  310.  
  311. Name = "Wordwrap all form textboxes"
  312. Active = TRUE
  313. Limit = 128
  314. Match = "<textarea\s\1>"
  315. Replace = "<textarea wrap=soft \1>"
  316.  
  317. Name = "GeoCities branding killer"
  318. Active = FALSE
  319. URL = "*.geocities."
  320. Limit = 2500
  321. Match = "<div class="geobranding*</script>"
  322. Replace = "<font size=1>[GeoBrand killed]</font>"
  323.  
  324. Name = "Kill add-on JavaScripts "
  325. Active = TRUE
  326. Multi = TRUE
  327. Bounds = "</body>*</script>"
  328. Limit = 1024
  329. Match = "\1<script*"
  330. Replace = "<font size=1>[PostScript Killed]</font><br>\r\n"
  331.           "\1\n"
  332.  
  333. Name = "Suppress all JavaScript errors"
  334. Active = TRUE
  335. Limit = 4096
  336. Match = "<start>"
  337. Replace = "<script> function NoError(){return(true);} onerror=NoError; </script>\n"
  338.  
  339. Name = "Kill alert/confirm boxes"
  340. Active = TRUE
  341. Multi = TRUE
  342. Limit = 4096
  343. Match = "<start>"
  344. Replace = "<script> "
  345.           "function NoBox(txt){ return(1);} "
  346.           "window.alert=NoBox; window.confirm=NoBox; "
  347.           "</script>\n"
  348.  
  349. Name = "Stop status bar scrollers"
  350. Active = FALSE
  351. Limit = 4096
  352. Match = "<start>"
  353. Replace = "<script> function status(txt){return(1);} </script>\n"
  354.  
  355. Name = "Kill Dynamic HTML JavaScripts"
  356. Active = TRUE
  357. Limit = 4096
  358. Match = "<start>"
  359. Replace = "<script> function NoWrite(txt){return(1);} "
  360.           "document.write=NoWrite; "
  361.           "document.writeln=NoWrite; "
  362.           "</script>\n"
  363.  
  364. Name = "Stop JavaScript Timers"
  365. Active = TRUE
  366. Limit = 4096
  367. Match = "<start>"
  368. Replace = "<script> function setTimeout(x,y){return(null);} </script>\n"
  369.  
  370. Name = "Disable JavaScript"
  371. Active = FALSE
  372. Limit = 256
  373. Match = "<script*>"
  374. Replace = "<script language="ShonenScript 712.0">"
  375.  
  376. Name = "Kill Nosey JavaScripts"
  377. Active = TRUE
  378. Bounds = "<script*</script>"
  379. Limit = 16000
  380. Match = "*(.(referrer|plugins|cookie|colorDepth|pixelDepth|external)|history.length)*"
  381. Replace = "<!-- Killed Nosey JavaScript -->"
  382.  
  383. Name = "Disable JavaScript cookies"
  384. Active = TRUE
  385. Limit = 128
  386. Match = ".cookie(*[(;)])\1"
  387. Replace = ".Cracker\1"
  388.  
  389. Name = "Hide Browser's Referrer from JS"
  390. Active = TRUE
  391. Limit = 15
  392. Match = ".referrer"
  393. Replace = ".referrer.substr(0,0)+"http://www.mmjp.or.jp/knife/""
  394.  
  395. Name = "Hide Browser's Version from JS"
  396. Active = TRUE
  397. Limit = 25
  398. Match = "navigator.appVersion"
  399. Replace = "'2.1'"
  400.  
  401. Name = "Hide Browser's Identity from JS"
  402. Active = TRUE
  403. Limit = 25
  404. Match = "navigator.(appName|userAgent)"
  405. Replace = "'ShonenScape'"
  406.  
  407. Name = "Kill the worst Pop-Up windows"
  408. Active = FALSE
  409. Multi = TRUE
  410. Bounds = "<script*</script>"
  411. Limit = 1024
  412. Match = "\1(window.open|open) \(\2"
  413. Replace = "\n\1 null; foo=(\2"
  414.  
  415. Name = "Kill window.external methods"
  416. Active = TRUE
  417. Limit = 40
  418. Match = "window.external.[^(]+"
  419. Replace = "null; "
  420.  
  421. Name = "Stop OnMouseOver events"
  422. Active = FALSE
  423. Limit = 20
  424. Match = "onmouseover="
  425. Replace = "OnPheasantOver="
  426.  
  427. Name = "Frame Jumper-Outer"
  428. Active = TRUE
  429. Multi = TRUE
  430. Bounds = "<a\s*>"
  431. Limit = 128
  432. Match = "<a\s\0 (href=("|)http:\w)\1 \2>"
  433. Replace = "<a target=_top \0 \1 \2>"
  434.  
  435. Name = "Kill Style Sheets"
  436. Active = FALSE
  437. Limit = 4096
  438. Match = "<style*</style>"
  439. Replace = "<!-- style sheet killed -->"
  440.  
  441. Name = "Kill Layers"
  442. Active = TRUE
  443. Limit = 20
  444. Match = "<(/|)\1(layer|ilayer)"
  445. Replace = "<\1PeelLayer"
  446.  
  447. Name = "iFrame/iLayer to link"
  448. Active = FALSE
  449. Bounds = "<iframe\s*</iframe>|<ilayer\s*</ilayer>"
  450. Limit = 1000
  451. Match = "<(iframe|ilayer)\0*src=(\w)\1*"
  452. Replace = "<font size=1><a target=_blank href=\1 >[\0]</a></font>"
  453.  
  454. Name = "Frame Exploder"
  455. Active = FALSE
  456. Multi = TRUE
  457. Limit = 4096
  458. Match = "<start>"
  459. Replace = "<script> "
  460.           "if (top.location != location){"
  461.           "window.open(location.href); window.close(); "
  462.           "} </script>"
  463.  
  464. Name = "Allow for frame resizing"
  465. Active = FALSE
  466. Bounds = "<frame*>"
  467. Limit = 256
  468. Match = "<(frameset|frame)\0\s ("
  469.         "(*((rows|cols)=("*"|\w))\1|)&(*(name=("*"|\w))\2|)"
  470.         "&(*(src=\w)\3|)&(*(scrolling=\w)\4|)"
  471.         "&(*(marginwidth=\w)\5|)&(*(marginheight=\w)\6|))*>"
  472. Replace = "<\0 \1 \2 \3 \4 \5 \6 border="1" >"
  473.  
  474. Name = "DeFramer"
  475. Active = FALSE
  476. Limit = 40
  477. Match = "<(/|)\1(frameset|noframes)"
  478. Replace = "<\1NoFrameset"
  479.  
  480. Name = "Convert Frames to Links"
  481. Active = FALSE
  482. Limit = 256
  483. Match = "<frame\s*src=(\w)\1 *>"
  484. Replace = "<body><font size=2><a href=\1>Frame:\1</a></font><br></body>"
  485.  
  486. Name = "DeTabler"
  487. Active = FALSE
  488. Limit = 200
  489. Match = "<(/|)t(able|r)*>"
  490. Replace = "<p>"
  491.  
  492. Name = "Table width unlimiter"
  493. Active = FALSE
  494. Limit = 256
  495. Match = "<(table|td)\0\s\1width=[#500-*]\2>"
  496. Replace = "<\0 \1\2>"
  497.  
  498. Name = "Skinnier Table Border"
  499. Active = FALSE
  500. Limit = 128
  501. Match = "<table\s\1border=[#4-*]\2>"
  502. Replace = "<table \1border=3\2>"
  503.  
  504. Name = "Foreign content-type filter"
  505. Active = FALSE
  506. Bounds = "<meta\s*>"
  507. Limit = 256
  508. Match = "*http-equiv="content-type"*charset=*"
  509. Replace = "<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">"
  510.  
  511.  
  512. [Proxies]
  513.  
  514.  
  515.